import { request } from '@umijs/max';
import api from '@/services/api';

export async function supportFileUpload(data) {
  return request(api.support_file_upload, {
    method: 'POST',
    data,
    headers: {
      'Content-Type': 'multipart/form-data',
    },
  });
}